package com.cy.zs.hp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cy.zs.hp.model.HisRegister;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 该表处理预约登记 Mapper 接口
 * </p>
 *
 * @author cgb2008
 * @since 2020-11-28
 */

@Mapper
public interface HisRegisterMapper extends BaseMapper<HisRegister> {
    @Select("select * from his_register where user_name=#{user_name}")
    List<HisRegister> findRegister(String username);

    int insertRegister(HisRegister hisRegister);

}
